<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户登录</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <FORM METHOD=POST ACTION="checkLogin1.jsp"> 
   
    <table border="1"> 
      <tr><td> 登录名： </td><td><INPUT TYPE="text" NAME="username"></td></tr> 
      <tr><td> 密&nbsp;&nbsp;码： </td><td><INPUT TYPE="password" NAME="pwd"></td></tr> 
      <tr><td> 角&nbsp;&nbsp;色： </td><td><INPUT TYPE="radio" NAME="role" value="admin">管理员
      <INPUT TYPE="radio" NAME="role" value="user">普通用户
      </td></tr> 
      <tr><td colspan=2>  <INPUT TYPE="submit" value=" 登录 ">   <INPUT TYPE="reset" value=" 清空 "> </td></tr> 
    </table> 
   </FORM> 
  </body>
</html>
